Successful connect and negotiation protocol implementation
Created a better test scheme and formatted
Fixed a bug