Added ability to send custom http headers to server

closes #9