Added error code printing
Try/Finally wrap on processRequest to close client no matter what