Adds lazy create context to getContext() method

Sometimes we need to work with the context object before a socket 
is opened e.g. to create poller object.
Merge pull request #145 from HeinrichHartmann/master

Adds lazy create context to getContext() method