Return HTTP 412 if the bucket type is not available
Merge branch 'bucket_type_support' into socket_timeout_support

Adds change to respond with HTTP 412 on bucket missing.