fixed a bug that prevented checking the server finished value
added sending of alert in case of an exception
added connection close method to api
split the doHandshake code for better readability
fixed bug while parsing long form length octets
removed the PrimitiveShort type as it was only used in one place
print more information while doing card operations
changed the applet to close the connection after 3 successfull
abbreviated handshakes