Fixed a bug in the MintPal getDepth method (currency name was not unescaped) and added another error catch in the HTTP utils.