Fix move bugs and change use of HTTP_SSL macro.