Merge pull request #131 from benjaminchodroff/master

fix memory corruption and other 32bit overflows
static int send_pong_message(nw_ses *ses)
{
    return send_reply(ses, 0xa, NULL, 0);
}

static int send_pong_message(nw_ses *ses)
{
    return send_reply(ses, 0xa, NULL, 0);
}
