Added HTTP status code decorator

resolve #20