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>