Well because you used the Generic Connection Framework, you just change the URL
String in the getConnection method. Now I think it also depends on if there is any specific methods that you used on the SocketConnection object that is not in the HttpConnection object. On the serverside you now need to have a
Servlet return the content that was used to be passed through the SocketConnection.
There might be more, but that is what I thought of.
Mark