Added tests for more extensive path/query combos.
Fixed path/query parsing in makeRequest.
Made the sleep time in getNextOpenPort a parameter, and reduced the default to 100ms.