adding ability to change http scheme and port (for debugging purposes)