Have a look at the test cases in the Remoting JMX project: -
By default Remoting will assume all inbound connections will have SSL enabled, the test cases show how this is switched to plain text connections.
Thanks Darran. I looked at the JMXRemotingServer.java and it has most things I needed. Just to add that I had to replace ServerMessageInterceptorFactory with ServerMessageEventHandlerFactory since my version of jboss(eap6.1) didnt have the former class.