Implement and use the XForwardedFor middleware for user_id

Fixes #143 (Use X-Forwarded-For for user id)

This commit also exposes a new API. We can now pass headers to HTTParty.