better input sanitization & error handling

Added support for additional errors:
400 - User malformed input
403 - Forbidden - Trying to overbook a flight (no more seats left)
404 - Resource not found (unknown seller/flight)
502 - Bad gateway - Seller crashed.