creating server context in constructor
first pass at manual polling. still needs libwebsockets callbacks?