Applied a default to config.socketTimeout, renamed error name to something more specific, added space for style