Fix warnings found from that Introduce lws_ptr_diff(head, tail) helper to normalize pointers to char *, do the subtraction and cast the result to int.
Split out some optional code into own sources to shrink down libwebsockets.c and server.c a bit