Add socket context option

Add the option for a socket context so pivoting will work