clean move lws_plat externs

Signed-off-by: Andy Green <andy.green@linaro.org>
remove libev build tag

It's told during context init if it uses libev or not in the logs

Signed-off-by: Andy Green <andy.green@linaro.org>
refactor context related functions into context.c

Signed-off-by: Andy Green <andy.green@linaro.org>
refactor service related functions into service.c

Signed-off-by: Andy Green <andy.green@linaro.org>
refactor pollfd related functions into pollfd.c

Signed-off-by: Andy Green <andy.green@linaro.org>
refactor migrate client and server specific context init into client.c and server.c

Eliminate some NO_CLIENT and NO_SERVER

Signed-off-by: Andy Green <andy.green@linaro.org>
refactor move flow control to server.c

Signed-off-by: Andy Green <andy.green@linaro.org>
refactor handshake client and server handling into client.c and server.c

Eliminate more #ifdefs

Signed-off-by: Andy Green <andy.green@linaro.org>
clean small additional ifdef reduction

Signed-off-by: Andy Green <andy.green@linaro.org>
refactor ssl related code into ssl.c

Signed-off-by: Andy Green <andy.green@linaro.org>
http2 add initial alpn support

Signed-off-by: Andy Green <andy.green@linaro.org>
windows fix SetFilePointer args

This restricts it to 4GB files on 32-bit Windows but it'll do for now.

Signed-off-by: Andy Green <andy.green@linaro.org>
windows fix breakage from plat refactor

Reported-by Marjan Tomas

Signed-off-by: Andy Green <andy.green@linaro.org>
windows allow syslog log target to mao to stderr

Signed-off-by: Andy Green <andy.green@linaro.org>