Implement path configuration

Allow to specify where the middleware should be listening
Return 'application/json' content-type with the response headers

fixes #1
Merge pull request #3 from jmendiara/master

Thanks.