Recovering after a panic.
Resolves #4

Adding status code after encoding the response.
Resolves #5