Added minimal validation of parsed shares coming from server to avoid crashes due to bad formed or unexpected responses