refactor libev eliminate all code ifdefs

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

Signed-off-by: Andy Green <andy.green@linaro.org>
windows ipv6 add necessary header

Thanks to Marjan and Joakim

https://github.com/warmcat/libwebsockets/issues/108#issuecomment-40075600

Signed-off-by: Andy Green <andy.green@linaro.org>
rxflow just return 0 when changing state

Nobody cares if we changed state, and callers are
increasingly taking nonzero as fail, causing us to
drop the connection when we re-enable rxflow.

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