autotools: use public API to check libstrophe

parser_new is not exported by libstrophe anymore.
Added error handling for /ping command responses
Fixed spelling mistake in ping errors
Fixed check for wget_wch to not rely on header

As per pasis suggestion at #421