fixed #5. Added closeConnection to TcpManagerProxy to distinguish it from detach.
javadoc update for clarity