Split out some optional code into own sources to shrink down libwebsockets.c and server.c a bit
Signed-off-by: Andy Green <andy.green@linaro.org>