Fixed InetSocketAddress mocking issue