core: enhance error log for un-parsable msg by adding the source IP and port
(cherry picked from commit 57e60928db2ba2a406026565e4569155fb811b6b)