allow setting gc.context

enables overriding context options such as MAX_SOCKETS where needed.

closes #471