Added proper handling of HTTP 413 status code

413 is returned by nginx when the file the user wants to upload is bigger than
the maximum allowed size (or more specifically when the body size of the HTTP
request is too large).