Merge pull request #131 from benjaminchodroff/master

fix memory corruption and other 32bit overflows
int ws_send_text(nw_ses *ses, char *message)
{
    return send_reply(ses, 0x1, message, strlen(message));
}

int ws_send_text(nw_ses *ses, char *message)
{
    return send_reply(ses, 0x1, message, strlen(message));
}
