Moved init for socket to options.