Allow for socket params, too.

Allow for socket params, too.