Parsing serialized Bind with given access mode fails

readWrite() and readOnly() both fail due to implementation errors in
Bind.parse()
Fix and improve parsing of serialized Bind
Parsing invalid serialized Bind throws IllegalArgumentException