checks ws protocol version; existence of host header field
adds hostname to wsd_config_t