removed input parser from socket handler