Add nil check for #status_code

Added a nil check in `#status_code` for when `self.operation` is not set, should resolves #66.

Thoughts?