Created and tested basic NIO pipeline.

Still coded to work with websockets only right now, but at least the abstraction was right.