simple implementation of a java socks proxy using Java NIO