Fixed a NullPointerException

I fixed a NullPointerException which occurred when a JsonWireProtocol request was made without a session.  This made debugging issues difficult since it hid the message indicating that a session was not available.  No issue was logged to the project's issue list since it is in a read only status for network maintenance.