Merge changes to http.py from helsinki-transit-live.
Unify property naming.