Backported Nick Joyce's changes @ https://github.com/njoyce which improves error
handling, code structure and more.
Updated examples to reflect the latest changes.
Added logging methods
Implement WebSocketServer which wraps Gevent ℗WSGIServer to improve usability.
Removed unused file.