Added a nullHandler function to deal with blank line input.

This change recognizes when the user hits return on a blank line.  I needed to handle this case for my project (a blank line is used to wake the device I am emulating, after which it sends an ack() response), but I can see it coming in useful in other applications.