Refactored request handling code

- Removed immature swears from an exception message, but I didn't
improve the maturity by much;
- Moved property assignments in the construction statement;
- Added comments for explanation and to-do.