Relay requests to server

There seems to be a problem with sending a response back. This has to do
with the way in which responses have to be sent back - it is too low
level for java. Going to have to play around a bit to find something
that works @_@