changes to networking

changed some socket parameters and removed useless code in
AsyncTCPServer. same changes applied to AsyncTCPClient. changed a
docstring in jsonlib