Make it be able to handle HTTPS request
Remove unused file
Refactoring
Add trace logging