fixing bug with empty request content
using correct hostName (uri of request or host from headers)
integrating gradle plugin for deb/rpm packaging