Fixed bug in main branch read_websocket

The bug is that read_websocket is missing to reserve the header
original websocket upgrade request, so if the queue is hit the case
(data_len + header_len > body_len), the following data corrupted by
appling the incorrect conn->data_len. I patched the code to allow large
binary transfer over 500KB (tested in OSX 10.8.3).
fixed get mask by memcpy
Fixed bug in main branch read_websocket

The bugs are that:
1. buf[0], the data opcode have been replaced with nex frame after memove
2. bigger frame over 1k without pull error handling, the remain data
don't load to cause following data corrupted
I patched the code to allow large for larger frame transfer over 64K and
send binary file over 10MB. (tested in OSX 10.7.5, 10.8.3).
Merge branch 'develop'