Merge pull request #1 from ThirdPlanetOut/beta

Beta
simplify the ssl in server
rewriting the host request header