Fix a bug which crashed the client when replaying requests
virtual host names are now case-insensitive