Handle invalid Content-Length during create bucket

References #5.