Added proxy to server https and http

TCP server to redirect http to https content as
 described `http://stackoverflow.com/a/23975955/458473`