Match net/http APIs for server, pull TLS support over