Parsing header for status code and status message
Just simple dialog error and remove code for special status code and url handling.