Web hooks: lengthen timeout and add Content-Length to header

Modified the WebHook class to fix a timeout issue with the GitLab CI Service integration.