Add new method getMetaData() to retrieve socket options