Added support for OS family & sending default error message during server error.

    * Added support for OS family.
    * Added support for error message during server error.