added close() methods to AOClientSocket and AOServerSocket