Mock WEBrick::Utils.getservername method