Add method for new request processing.
Identify what packet is to be expected next.
Add meth to encode requests to bytes.
Fix some compilation issues.
Switch to case classes for Request and Response.
Add comment and update indent.
Add trait for externalizable as byte arrays types.
Fix whitespace and make Response abstract.
Add wire to frame decoder.
Add ConnectResponse type.
Add wire frame to result function.