Changes to IAmsSocket