Fix bad #define in websock.h

Also, don't use memcpy to copy 2 to 8 bytes.
Just make the assignment via pointer to frame memory.
Define for endianness functions for machines without them
was pointing to wrong byte length version.  be64toh was defined
to lws_be16toh.  Woops.  Fix this and it closes #10.