procfile
added error handling
support https and better error logging