Logic for receiving messages should be complete in connection.cc