Using created function for slightly better performance.
New implementation of the parser in the connection.

The new implementation is more performant and "sane".
Moreover, it required a refactoring of the reconnection logic, which has
lead to a more 'stable' algorithm.
Extracted the basic packet reading from the PacketParser.
Adding some new test cases for ssl
Added working examples of secure server and client
Adding non-expired cert/key for secure examples
Added test cases for secure client
Adding comments for new setStream function
Adding a little buffer to cope with slow connections.
Merge branch 'new-connection' into v0.3.0

Conflicts:
	lib/mqtt.js
Merge branch 'clementineinc-master' into v0.3.0-dev

Conflicts:
	lib/client.js
	lib/mqtt.js
Refactored client and secureClient tests.
Improved packet parsing.
Revert "Adding a little buffer to cope with slow connections."

This reverts commit cf506baa310312bc87d17a3cb4272d50b9b5ca1e.

Conflicts:
	lib/connection.js
Avoid using arguments in generated function.
Add setEncoding method to connection
Update MqttClient to support publish encoding
Add tests for Connection#setEncoding
Fixed failing test due to the default being utf8 now.
Removed the use of 'call' inside Connection to pass the encoding.