Suppress gson exception and use getServerConnection() in NettyInjector