Added non-blocking sockets.
Added basic non-blocking proxy with a single thread.
Added error reporting to build.