Updated the makefile for linux and added a test to test the http->https redirection.