Added unknown request scheme error handling