modify for socket handler and parser.