Support setting timeouts

See https://github.com/jarib/browsermob-proxy-rb/pull/14 for previous version of this PR.

Previous code contained a bug :disappointed: and this e2e tests haven't been working. I fixed it