fixed #136 + fixed HTTPS server + added basic proxy auth to HTTP client