Minor cleanup
Fix duplicate log messages + print exception type on failure
Use HTTP/1.1 to for requests to backend server
Add X-Forwarded-For header (close #5)