adding getReceivedStatusCode helper method
Adding status code check to the delegate callbacks regarding token response.
extending NSOperation implementation to keep track of connection thread and handle timeouts manually.