aerospike/aerospike-client-nodejs — pull request #3 by mullanaphy (2014-04-23 21:13:35+00:00)
Title: Parsing error on as_record when value of a bin is null.

Looked into the documentation for removing a bin from a record and it said to set the bin's value to null.
https://github.com/aerospike/aerospike-client-nodejs/blob/master/docs/client.md#put

When attempting that though, came back with: "Parsing as_record(C structure) from record object failed".

Looking on conversions.cc and saw that it checked for string, number, and object (Buffer) while returning the error for any of data types. Just added an extra conditional for null, and saw the C/C++ client already had as_record_set_nil.

Tested it with the code I was trying to run and it did as I wished. Also, notice operations write null doesn't work either, yet didn't see an already made _nil function or if operations should even do that so I ignored that for now and put will take care of my needs.

to test:

```javascript
var key = {
ns: 'test',
set: 'set',
key: 'key'
};
client.put(key, {bin: 'hi'}, function(err) {
client.get(key, function(err, record) {
console.log('ADDED:', record);
client.put(key, {bin: null}, function(err) {
client.get(key, function(err, record) {
console.log('REMOVED:', record);
});
});
});
});
```