Added connect reader & writer along with message types. Final details of connection shutdown are still not in place.