Added connect example
Added publish example
Subscribe method fix

Fixed simple subscribe method, it was empty!
Added subscribe example
Cleanup and fixed PUBLISH message parsing

Client identifier wasn't correctly read for AT_MOST_ONCE messages