[SPARK-1617] and [SPARK-1618] Improvements to streaming ui and bug fix to socket receiver