errors are passed to callbacks when available, otherwise emitted on the connection in the `error` event. IMPORTANT: not listening to your connection's error event will cause them to be thrown. you should handle these errors in your application. relates to #618
…ect() method. Also added minor documenation specifying the subtype codes.