httpsever bugfixes