Added a createTicket method.
Removed redundant assignment of Retry-After header value.