fixed the build issue that Silverlight doesn't have the API socket.GetSocketOption