Added targetTimeout option and two tests for timeout

Basically the new option would allow `http-master` to show a custom timeout page instead of simply hanging up the socket. The default timeout option is still there. I have added test for both cases since there was no test for the timeout at all.