Added headers argument
Added check for callback existence
Merge pull request #25 from freefaint/headers

Added headers argument for requests