Connection to server is working properly (sort of)

Can register a new server
Close connection when exiting program
Fixed so that user can send a server request and get all available servers
Flags: added two flags for host creation/remove

TcpConnection: check for null values