changes to includes to support ARM
added some preprocessor validations for autotools; added method 'is_open' to the socketstream in order to determine if the peer closed the connection