add strip/socket parsing and handling