Added code status exception, remove new instance of InetSocketAddress in SocketConnection