add https support in HttpCodec and TestHttpServer; fix console charset in log