First implementation of the handshake and frames
First frame parser version

This uses scala Stream, but I should switch to nio buffers instead to
integrate more seamlessly with existing code.