Fixes #182. Python 3 HTTPMessage error.

.getheader() was removed in the python3 version, changed to .get().
Still works in python 2.7
Merge branch 'master' into develop